home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 71.zip / BS1 part 71 / X-Cad3000_d5.adf / XCdoc / drawstg < prev    next >
Text File  |  1991-11-22  |  2KB  |  64 lines

  1.  
  2.    5.3.1 DRAW STRING
  3.  
  4.  
  5. The DRAW STRING command is used to draw a string entity. A string is a
  6. continuous sequence of line segments joined end to end, but treated as a
  7. single entity.
  8.  
  9.  
  10.    COMMAND FORMAT
  11.  
  12.       #DRAW STRING [modifiers] :Loc x1 ... xn [:Loc x1 ... xn]     etc.
  13.  
  14. If the command is used with no modifiers, a string is created joining
  15. each location digitised. To start a new string, enter a colon at any time
  16. to re-enter IDENTS. ( See fig. 5.10 ).
  17.  
  18.  
  19.    MODIFIERS
  20.  
  21. LAYER          Requires a layer number. This will override the current
  22.                active layer.
  23.  
  24. DEPTH          Requires a depth number. This will override the current
  25.                active depth.
  26.  
  27. PARALLEL       Format:
  28.  
  29.                   #DRAW STRING PARALLEL [value] :Ent x1 :Loc x2 :Ent ...
  30.  
  31.                Will draw a string parallel to an existing string or polygon.
  32.                'x1' identifies the existing entity.
  33.  
  34.                'x2' defines which side of the existing entity to draw the
  35.                string. If a value is entered after PARALLEL, the string will
  36.                be drawn at the specified distance from the existing entity.
  37.                ( See fig. 5.11 ). If no value was entered, the distance is
  38.                calculated as the length from 'x2' to the nearest side of the
  39.                existing entity.
  40.  
  41. RECTANGLE      Format:
  42.  
  43.                   #DRAW STRING RECTANGLE :Loc x1 x2 :Loc ...
  44.  
  45.                Will draw a string with 4 segments in the shape of a rec-
  46.                tangle. 'x1' and 'x2' define the extents of the rectangle.
  47.                ( See fig. 5.12 ).
  48.  
  49. HARDFONT       Indicates a hardware line style will be entered.
  50.  
  51. .STYLE         One of the predefined styles, a value between 0 and 15.
  52.  
  53. .THICKNESS     Line thickness, a value between 1 and 5.
  54.  
  55. SOFTFONT       Indicates a software line style will be entered. For a full
  56.                description of the SOFTFONT option, see the documentation
  57.                for the command DEFINE SOFTFONT.
  58.  
  59. ATTRIBUTE      Used to enter one or more attributes associated with this
  60.                entity. For a full description of the ATTRIBUTE option, see
  61.                the documentation for the command ADD ATTRIBUTE.
  62.  
  63.  
  64.